We strongly discourage injecting code without using a hook such as a code extension type or a Groovy plug-in. If you don't use an existing hook:
Errors in the code won't be caught by the groovy compiler.
It is more difficult to turn off the code.
For more information about using code extension types, see Code extensions (on page 1) in the N4_CustomizationGd.pdf available from the Kaleris Customer Portal, or search on Code Extensions in the N4 online help.
For more information about using Groovy Plug-ins, see the N4_SDK.zip available from the Kaleris Customer Portal.